#add MySystem/bin MySystem/usr/lib to ${path}
#install to MySystem/usr and create the shortcut to MySystem/bin
#VC编程获取和修改环境变量，不重启系统即时生效
#https://blog.csdn.net/dj0379/article/details/7920913
add_executable( board WIN32 src/MyApp.h
        src/MyApp.cpp src/MyDialog.h src/MyDialog.cpp
        src/WorkThread.h src/WorkThread.cpp
        src/resource.rc
        src/NotificationIcon.h src/NotificationIcon.cpp
        src/HostInfoPanel.cpp src/HostInfoPanel.h
        src/HostDetailFrame.h src/HostDetailFrame.cpp
        src/OptionEditFrame.h src/OptionEditFrame.cpp
        src/ChatPanel.cpp src/ChatPanel.h
        src/repDialog.cpp src/repDialog.h
        src/postDirSession.cpp src/postDirSession.h
        ../repLib/src/action_event.cpp
        ../repLib/src/utils.cpp)

#add_dependencies( board repLib )

target_include_directories(board PUBLIC
        "${CMAKE_CURRENT_SOURCE_DIR}/../repLib/src"
        )

#target_link_libraries( board ${CMAKE_CURRENT_BINARY_DIR}/../repLib/repLib.lib )

#获取环境变量my，将exe更新至目录



